//指针实现字符串比较
#include<iostream>
using namespace std;


struct PERSON
{
	char name[40];
	char gender[40];
	int age;
};


int main()
{
	PERSON one;
	PERSON *p;
	p = &one;
	cin>>(*p).name;
	cin>>one.gender;
	cin>>p->age;
	
	cout<<p->name<<" "<<p->gender<<" "<<p->age;
	return 0;
	
	
}
